//package com.caigou.modules.home.adapter
//
//import android.widget.TextView
//import com.caigou.comm.base.bean.PrizeItemBean
//import com.caigou.comm.base.ext.prizeBallColor
//import com.caigou.modules.home.R
//import com.chad.library.adapter.base.BaseQuickAdapter
//import com.chad.library.adapter.base.viewholder.BaseViewHolder
//
///**
// * @author #Suyghur.
// * Created on 2021/12/19
// */
//class PrizeBallItemAdapter(dataset: MutableList<PrizeItemBean>) :
//    BaseQuickAdapter<PrizeItemBean, BaseViewHolder>(R.layout.item_prize_ball_list, dataset) {
//    override fun convert(holder: BaseViewHolder, item: PrizeItemBean) {
//        with(holder.getView<TextView>(R.id.item_prize_ball_tv_num)) {
//            text = item.number
//            setBackgroundResource(prizeBallColor(item.numberColor))
//        }
//        holder.setText(R.id.item_prize_ball_tv_desc, item.animalName)
//    }
//}